package com.molichuxing.gateway.bff.order.entity.response;

import com.molichuxing.framework.dto.ResponseRootDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @Author zoumingyu
 * @Date 2020年06月19日
 */
@Data
public class EnterpriseCarDetailVo extends ResponseRootDto {
    private static final long serialVersionUID = 5585179677947446242L;

    @ApiModelProperty(value = "车型id")
    private Integer modelId;

    @ApiModelProperty(value = "车辆id")
    private Integer carId;

    @ApiModelProperty(value = "车架号")
    private String vin;

    @ApiModelProperty(value = "车牌号")
    private String licencePlate;

    @ApiModelProperty(value = "颜色id")
    private Integer colorId;

    @ApiModelProperty(value = "颜色")
    private String colorName;

    @ApiModelProperty(value = "车辆状态（1：待付款，2：待交车，3：待起租，4：租赁中，5：已退租，6：已过户，7：已续租）")
    private Integer status;

    @ApiModelProperty(value = "车辆状态str）")
    private String statusStr;

    @ApiModelProperty(value = "起租里程")
    private Integer startMileage;

    @ApiModelProperty(value = "月度里程上限")
    private Integer mileageUpper;

    @ApiModelProperty(value = "保证金")
    private BigDecimal deposit;

    @ApiModelProperty(value = "租金/月")
    private BigDecimal monthlyRental;

    @ApiModelProperty(value = "租金/期")
    private BigDecimal periodsRental;

    @ApiModelProperty(value = "车辆类型")
    private Integer vehicleType;

    @ApiModelProperty(value = "车辆类型str")
    private String vehicleTypeStr;

    @ApiModelProperty(value = "还款周期")
    private Integer repaymentPeriod;

    @ApiModelProperty(value = "还款周期sstr")
    private String repaymentPeriodStr;

    public EnterpriseCarDetailVo() {
    }

    public EnterpriseCarDetailVo(String vin, String licencePlate, String colorName, Integer startMileage, Integer mileageUpper, BigDecimal deposit, BigDecimal periodsRental) {
        this.vin = vin;
        this.licencePlate = licencePlate;
        this.colorName = colorName;
        this.startMileage = startMileage;
        this.mileageUpper = mileageUpper;
        this.deposit = deposit;
        this.periodsRental = periodsRental;
    }
}
